package com.fuyao.cloud.asset.inventory.enums;

import com.fuyao.cloud.common.core.enums.BaseEnum;

/**
 * 盘点资产状态枚举
 *
 * @author lyhil
 */
public enum InventoryTaskAssetStatusEnum implements BaseEnum {

	/**
	 * 待盘点
	 */
	TODO_INVENTORY("0", "待盘点"),
	/**
	 * 存在
	 */
	ASSET_EXISTS("1", "存在"),
	/**
	 * 不存在
	 */
	ASSET_NO_EXISTS("2", "不存在"),
	/**
	 * 盘盈
	 */
	INVENTORY_PROFIT("3", "盘盈"),
	/**
	 * 盘亏
	 */
	INVENTORY_LOSS("4", "盘亏");

	private String code;
	private String name;

	private InventoryTaskAssetStatusEnum(String code, String name) {
		this.code = code;
		this.name = name;
	}

	@Override
	public String getCode() {
		return this.code;
	}

	@Override
	public String getName() {
		return this.name;
	}
}
